package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.commons.DataScope;
import com.lzh.dlykserver.entity.TClueRemark;
import com.lzh.dlykserver.query.ClueRemarkQuery;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_clue_remark(线索跟踪记录表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TClueRemark
 */
public interface TClueRemarkMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TClueRemark record);

    int insertSelective(TClueRemark record);

    TClueRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClueRemark record);

    int updateByPrimaryKey(TClueRemark record);

    @DataScope(tableAlias = "tcr", tableField = "create_by")
    List<TClueRemark> selectClueRemarkByPage(ClueRemarkQuery clueRemarkQuery);
}
